let objectAssign = require('object-assign')
let obj = objectAssign({a: 1}, {b: 2})
console.log(obj)